package enrique.kurso.lecionoj;


import android.app.Activity;
import android.content.Context;
import android.media.MediaPlayer;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import enrique.kurso.R;

public class Leciono0104 extends Activity{

	Button yo,el,ella,eso,nosotros,ustedes,ellos,uno,amigo,hermano,cafe,bello,sano,caliente;
	MediaPlayer mp;
	@Override
	 public void onCreate(Bundle savedInstanceState) { 
		 super.onCreate(savedInstanceState);
		 setContentView(R.layout.leciono0104);
		 yo = (Button) findViewById(R.id.botonYo);
		 el = (Button) findViewById(R.id.botonYo);
		 ella = (Button) findViewById(R.id.botonYo);
		 eso = (Button) findViewById(R.id.botonYo);
		 nosotros = (Button) findViewById(R.id.botonYo);
		 ustedes = (Button) findViewById(R.id.botonYo);
		 ellos = (Button) findViewById(R.id.botonYo);
		 uno = (Button) findViewById(R.id.botonYo);
		 amigo = (Button) findViewById(R.id.botonYo);
		 hermano = (Button) findViewById(R.id.botonYo);
		 cafe = (Button) findViewById(R.id.botonYo);
		 bello = (Button) findViewById(R.id.botonYo);
		 sano = (Button) findViewById(R.id.botonYo);
		 caliente = (Button) findViewById(R.id.botonYo);
		 
		 yo.setOnClickListener(new OnClickListener() {
				public void onClick(View v) {				
					 mp = MediaPlayer.create(getContext(), R.raw.ami);
					 mp.start();
				}
	     });
		 el.setOnClickListener(new OnClickListener() {
				public void onClick(View v) {				
					 mp = MediaPlayer.create(getContext(), R.raw.ami);
					 mp.start();
				}
	     });
		 ella.setOnClickListener(new OnClickListener() {
				public void onClick(View v) {				
					 mp = MediaPlayer.create(getContext(), R.raw.ami);
					 mp.start();
				}
	     });
		 eso.setOnClickListener(new OnClickListener() {
				public void onClick(View v) {				
					 mp = MediaPlayer.create(getContext(), R.raw.ami);
					 mp.start();
				}
	     });
		 nosotros.setOnClickListener(new OnClickListener() {
				public void onClick(View v) {				
					 mp = MediaPlayer.create(getContext(), R.raw.ami);
					 mp.start();
				}
	     });
		 ustedes.setOnClickListener(new OnClickListener() {
				public void onClick(View v) {				
					 mp = MediaPlayer.create(getContext(), R.raw.ami);
					 mp.start();
				}
	     });
		 ellos.setOnClickListener(new OnClickListener() {
				public void onClick(View v) {				
					 mp = MediaPlayer.create(getContext(), R.raw.ami);
					 mp.start();
				}
	     });
		 amigo.setOnClickListener(new OnClickListener() {
				public void onClick(View v) {				
					 mp = MediaPlayer.create(getContext(), R.raw.ami);
					 mp.start();
				}
	     });
		 hermano.setOnClickListener(new OnClickListener() {
				public void onClick(View v) {				
					 mp = MediaPlayer.create(getContext(), R.raw.ami);
					 mp.start();
				}
	     });
		 cafe.setOnClickListener(new OnClickListener() {
				public void onClick(View v) {				
					 mp = MediaPlayer.create(getContext(), R.raw.ami);
					 mp.start();
				}
	     });
		 bello.setOnClickListener(new OnClickListener() {
				public void onClick(View v) {				
					 mp = MediaPlayer.create(getContext(), R.raw.ami);
					 mp.start();
				}
	     });
		 sano.setOnClickListener(new OnClickListener() {
				public void onClick(View v) {				
					 mp = MediaPlayer.create(getContext(), R.raw.ami);
					 mp.start();
				}
	     });
		 caliente.setOnClickListener(new OnClickListener() {
				public void onClick(View v) {				
					 mp = MediaPlayer.create(getContext(), R.raw.ami);
					 mp.start();
				}
	     });
		 
		
	}
	
	private Context getContext() {
		  return this;
	  }
}
